Package com.cisco.pt.ipc.sim.impl
Class ZfwProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.ZfwProcessImpl
- All Implemented Interfaces:
IPCObject,Process,ZfwProcess
- Direct Known Subclasses:
FirewallProcessImpl
Information provided by the PKI file:
\class ZfwProcess
\brief ZfwProcess is the process that handles zone based firewall.
\example network().getDevice("Router0").getProcess("ZfwProcess")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionZfwProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptiongetZoneNameAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:getZonePairEntryAt(int index) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
ZfwProcessImpl
public ZfwProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getZoneNameCount
public int getZoneNameCount()Information provided by the PKI file:
\brief Returns the number of zones. \return int, the number of zones.- Specified by:
getZoneNameCountin interfaceZfwProcess- Returns:
- int Returns a int
-
getZoneNameAt
Information provided by the PKI file:
\brief Returns the zone at specified index. \param index, the index of the zone of interest. \return Zone, the Zone object at specified index.- Specified by:
getZoneNameAtin interfaceZfwProcess- Parameters:
index- Takes in a parameter of index- Returns:
- Zone Returns a Zone
-
getZonePairCount
public int getZonePairCount()Information provided by the PKI file:
\brief Returns the number of zone pairs. \return int, the number of zones pairs.- Specified by:
getZonePairCountin interfaceZfwProcess- Returns:
- int Returns a int
-
getZonePairEntryAt
Information provided by the PKI file:
\brief Returns the zone pair at specified index. \param index, the index of the zone pair of interest. \return ZonePair, the ZonePair object at specified index.- Specified by:
getZonePairEntryAtin interfaceZfwProcess- Parameters:
index- Takes in a parameter of index- Returns:
- ZonePair Returns a ZonePair
-